<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>详情</title>

    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="__PUBLIC__/html/jquery-weui/css/jquery-weui.css">

    <link rel="stylesheet" href="__PUBLIC__/html/bootstrap/css/bootstrap.min.css">

    <script src="__PUBLIC__/html/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="__PUBLIC__/html/jquery-weui/js/jquery-weui.js"></script>

    <script src="__PUBLIC__/html/jquery-weui/js/swiper.js"></script>

<style>
    .weui_cell {
        background: #CCCDCF;
    }
    .weui_cell:before {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        width: auto;
    }
    .movie_point {
        color: red;
    }
    .btn {
        width: 100%;
        height: 50px;
    }
</style>
</head>
<body>

    <foreach name="list" item="val">
    <div class="weui_cell">
        <div class="weui_cell_hd">
            <img style="width: 100px;height:130px;" src="__ROOT__{$val['cover']}">
        </div>
        <div class="weui_cell_bd weui_cell_primary">
            <p class="movie-name">{$val['name']}</p>
            <p class="movie_point">{$val['score']}</p>
            <p class="movie-summary">{$val['actore']}</p>
            <p class="movie-description">上映时间:{$val['release_at']}|电影时长:{$val['long']}分钟</p>
        </div>
    </div>
    <div>
        <div>{$val['description']}</div>
    </div>

    <div class="weui_opr_area">
        <p class="weui_btn_area">
            <a href="{:U('Cinemal/index',['time'=>date('md'),'id'=>$val['id']])}" class="weui_btn weui_btn_primary">立即购买</a>
        </p>
    </div>

    </foreach>
</body>
</html>